package cn.fintecher.pangolin.entity.elastic;

import cn.fintecher.pangolin.common.utils.Constants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.Date;

/** 身份证查询
 * @Auther: huyanmin
 * @Date: 2018/12/26
 * @Description:
 */
@Data
@Document(indexName = Constants.ID_CARD_INFORMATION, type = Constants.ID_CARD_INFORMATION, shards = 1, replicas = 0)
@ApiModel(value = "IdCardInformation", description = "身份证查询")
public class IdCardInformation implements Serializable {

    @Id
    private String id;

    @ApiModelProperty("地区")
    private String location;

    @ApiModelProperty(notes = "身份证号码段")
    private String idCardPeriod;

    @ApiModelProperty(notes = "操作时间")
    private Date operatorTime;

    @ApiModelProperty("备用字段1")
    private String remark1;

    @ApiModelProperty("备用字段2")
    private String remark2;

    @ApiModelProperty("备用字段3")
    private String remark3;

}
